<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css"
          integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js"
            integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
            crossorigin="anonymous"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <script src="${pageContext.request.contextPath}/js/saxon/welcome.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/welcome.css">
    <link rel="icon" href="${pageContext.request.contextPath}/static/title.ico" type="image/x-icon"/>
    <title>欢迎来到我的博客ヽ(✿ﾟ▽ﾟ)ノ</title>
</head>
<body onload="loading()">
<div id="form" >
    <form action="${pageContext.request.contextPath}/login" method="post" onsubmit="return submit()">
        <div>登录</div>
        <div class="form-group">
            <label for="userAccount">用户账号</label>
            <input AUTOCOMPLETE="off" type="text" required class="form-control form-control-sm" id="userAccount"
                   name="userAccount" onblur="user_account()">
        </div>
        <div class="form-group">
            <label for="userPassword">用户密码</label>
            <input AUTOCOMPLETE="off" type="password" required class="form-control form-control-sm" name="userPassword"
                   id="userPassword">
        </div>
        <div>
            <a href="${pageContext.request.contextPath}/JSP/updatePassword.jsp">忘记密码？</a>
            <a href="${pageContext.request.contextPath}/JSP/register.jsp">注册</a>
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
</div>
<script>
    function loading() {
        alert("账号：admin;密码：123456789")
    }
</script>
</body>
</html>
